<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html">

    <body>

        <ui:composition template="./WEB-INF/templates/maintemplate.xhtml">

            <ui:define name="content">
                <div class="make">
                <h1>Dagens Lunch</h1>
                 <hr></hr>
                #{lunchBean.loadTodaysLunches()}
                
                <ui:repeat var="o" value="#{lunchBean.lunches}" varStatus="status">
                    
                    <div class="bold">
                    <h:outputText value="#{o.lunch_name}"/> &nbsp;
                    <h:outputText value="#{o.lunch_price}"/> kr<br/>
                    </div>
                    <h:outputText value="#{o.lunch_description}"/><br/><br/>
                
                </ui:repeat>
                 
                  <h:graphicImage id="staff" class="image" library="images" name="carbonara.jpg" width="350" height="200"/>
                </div>


            </ui:define>

        </ui:composition>

    </body>
</html>
